$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'has_generated_code'

ActiveRecord::Base.establish_connection(:adapter => "sqlite3",
                                       :database => File.dirname(__FILE__) + "/has_generated_code.sqlite3")

load File.dirname(__FILE__) + '/support/schema.rb'
load File.dirname(__FILE__) + '/support/models.rb'
